<?php
use common\service\GlobalUrlService;

?>
<!DOCTYPE HTML>
<html lang="en-US">

<head>
    <meta charset="UTF-8">
    <title>ueditor demo</title>
</head>

<body>
<h3>ueditor demo</h3>
<script src="<?= GlobalUrlService::buildStaticUrl('/js/ueditor/ueditor.config.js')?>"></script>
<script src="<?= GlobalUrlService::buildStaticUrl('/js/ueditor/ueditor.all.js')?>"></script>
<!-- 加载编辑器的容器 -->
<script id="container" name="content" type="text/plain">
        <?= $content?>
    </script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var ue = UE.getEditor('container');
</script>
</body>

</html>
